function updateValues()
	{
		/*
			abe, 01feb2011/1140am: in this function, we update the values of the fields upon loading the HTML page, since we
			are editing the resident info and it is much easier if we see the previous info there.
		*/
		//alert("welcome to update values.");	
		var x, y, z;		
		
		//now, let's update gender first
		x = document.getElementById('gender_hidden');
		y = document.getElementById('gender_' + x.value.toLowerCase() );
		y.selected = "selected";

		
		//now, let's update civil status		
		x = document.getElementById('civil_status_hidden');				
		if(x.value == "In a Relationship") x.value = "relationship";
		else if(x.value == "It's Complicated") x.value = "complicated";
		else if(x.value == "Not Applicable") x.value = "notapplicable";	    
		//alert('i will get ' + 'civil_status_' + x.value.toLowerCase());
		y = document.getElementById('civil_status_' + x.value.toLowerCase());
		y.selected = "selected";	
		
		//now, college
		x = document.getElementById('college_hidden');		
		y = document.getElementById('college_' + x.value.toLowerCase() );
		y.selected = "selected";
		
		//now classification
		x = document.getElementById('classification_hidden');		
		y = document.getElementById('classification_' + x.value.toLowerCase() );
		y.selected = "selected";
		
		//now region
		x = document.getElementById('region_hidden');		
		y = document.getElementById('region_' + x.value.toLowerCase() );
		y.selected = "selected";						
				
		return true;
	}
